package cn.tedu.ivos.dictoption.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Date;
@Data
public class DictOptionSaveParam {
    @Schema(description = "字典项编号")
    private Long id;
    @Schema(description = "字典编号")
    private Long dictId;
    @Schema(description = "字典项标签")
    @NotBlank(message = "字典项标签不能为空")
    private String label;//字典项标签
    @Schema(description = "字典项值")
    @NotBlank(message = "字典项值不能为空")
    private String value;//字典项值
    @Schema(description = "排序")
    @NotNull(message = "排序不能为空")
    private Integer sort;//排序
    @Schema(description = "备注")
    @NotBlank(message = "字典项备注不能为空")
    private String remark;//备注

}
